package com.bawei.wyg.mycommerce.splash.view;



import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.view.View;

import androidx.annotation.Nullable;

import com.bawei.wyg.mvvmcommon.mvvm.view.BaseActivity;
import com.bawei.wyg.mycommerce.BR;
import com.bawei.wyg.mycommerce.R;
import com.bawei.wyg.mycommerce.databinding.ActivitySplashBinding;
import com.bawei.wyg.mycommerce.splash.viewmodel.SplashViewModel;
import com.bawei.wyg.mycommerce.thread.TimerHandler;

public class SplashActivity extends BaseActivity<ActivitySplashBinding,
        SplashViewModel> {


    @Override
    protected int initVariable() {
        return BR.vm;
    }

    @Override
    public Class createClazz() {
        return SplashViewModel.class;
    }

    @Override
    public int bindLayout() {
        return R.layout.activity_splash;
    }


    @Override
    public View addStatusView() {
        return findViewById(R.id.splac);
    }

    @Override
    protected void onStart() {
        super.onStart();
        getColors(Color.WHITE);
    }



}